#!/bin/bash
if [ $# -ne 2 ]
then 
    echo "Usage: <command> <image name> <image tag>"
    exit -1
fi

imgName=$1
imgTag=$2

echo run docker image ${imgName}:${imgTag}

docker run \
    -w /root \
	-v ~/docker/ubuntu-18.04:/mnt/download \
	-v ~/caffe/caffe-cpu:/mnt/caffe-cpu \
    -it ${imgName}:${imgTag}

